package com.glp.work.flow.service;

import java.util.Map;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.alibaba.fastjson.JSONObject;

/**
 * 远程调用服务
 * 2018年11月1日 13:22:00
 *
 * @author zy
 */

@FeignClient(url = "http://172.16.6.69:8080/modules/sch/", name = "custom")
public interface CashPlanServiceClient {

    @RequestMapping(value = "SCH101/query_contract_infos.svc", method = RequestMethod.POST)
    public JSONObject getEngineMesasge(@RequestParam("parameter") Map<String, Object> map);
}
